<html>
<head><meta charset="utf-8"><title>random rustc segfaults · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/random.20rustc.20segfaults.html">random rustc segfaults</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="148064076"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/random%20rustc%20segfaults/near/148064076" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/random.20rustc.20segfaults.html#148064076">(Nov 20 2018 at 20:06)</a>:</h4>
<p>So I'm still observing irreproducible segfaults from time to time in rustc -- at all stages (stage0, stage1, and stage2). I'm keeping a log of the backtraces as they occur here for now.</p>
<p><a href="https://gist.github.com/nikomatsakis/92827cb5ff853d0c5b46313da512241a" target="_blank" title="https://gist.github.com/nikomatsakis/92827cb5ff853d0c5b46313da512241a">https://gist.github.com/nikomatsakis/92827cb5ff853d0c5b46313da512241a</a></p>



<a name="148064093"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/random%20rustc%20segfaults/near/148064093" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/random.20rustc.20segfaults.html#148064093">(Nov 20 2018 at 20:06)</a>:</h4>
<p>They seem to <em>mostly</em> (but not exclusively) occur in LLVM-related code.</p>



<a name="148065246"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/random%20rustc%20segfaults/near/148065246" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/random.20rustc.20segfaults.html#148065246">(Nov 20 2018 at 20:24)</a>:</h4>
<p>Do you have LLVM assertions enabled… (actually might not be that helpful if it is not reliably reproducible)</p>



<a name="148067463"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/random%20rustc%20segfaults/near/148067463" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/random.20rustc.20segfaults.html#148067463">(Nov 20 2018 at 20:56)</a>:</h4>
<p>hmm, I do not, but I can do so</p>



<a name="148067467"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/random%20rustc%20segfaults/near/148067467" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/random.20rustc.20segfaults.html#148067467">(Nov 20 2018 at 20:56)</a>:</h4>
<p>but yeah it is not reproducible</p>



<a name="148067474"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/random%20rustc%20segfaults/near/148067474" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/random.20rustc.20segfaults.html#148067474">(Nov 20 2018 at 20:56)</a>:</h4>
<p>usually I just run <code>x.py</code> again and things work fine</p>



<a name="148084134"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/random%20rustc%20segfaults/near/148084134" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/random.20rustc.20segfaults.html#148084134">(Nov 21 2018 at 02:41)</a>:</h4>
<p>Could run memtest overnight to rule out memory-related shenanigans</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>